//
//  myData.h
//  Sqlite 数据库
//
//  Created by 董骎 on 14-5-12.
//  Copyright (c) 2014年 董骎. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
@interface myData : NSObject
{
    sqlite3 *mySql;
}
-(NSString *)getDocPath;
-(BOOL)initData;
-(BOOL)creatBiaoQingBaoTable;
-(BOOL)creatBiaoQingTable;

-(BOOL)insertData:(NSString *)gifName biaoQingBao:(NSString *)biaoQingBao gifImage:(NSString *)gifImage tableName:(NSString *)tableName hasName:(int)hasName;
-(NSMutableArray *)selectData;
-(BOOL)selectEmotionData:(NSString *)emotionName;
-(NSMutableArray *)selectEmotion:(NSString *)emotionName;
-(BOOL)deleteEmotion:(NSString *)emotionName;
-(BOOL)deletebiaoQingBao:(NSString *)emotionName;

@end
